package com.hdax.dm.mapstucts.list;

import com.hdax.dm.beans.item.Item;
import com.hdax.dm.beans.item.ItemType;
import com.hdax.dm.dto.list.sortgoodsDto;
import com.hdax.dm.dto.seniorityDto;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "Spring")
public abstract class sortgoodsDtoMapper {

    public abstract sortgoodsDto toTarget(ItemType source);

    public abstract List<sortgoodsDto> toTargetList(List<ItemType> sources);
}
